package com.engineering.elink.domain;

public class Chapter {
    private Integer chapterId;

    private String chapterName;

    private Integer parentId;

    private Integer courseId;

    private Integer sortId;
    
    public Chapter(){
    	
    }
    public Chapter(String chapterName,Integer parentId,Integer courseId,Integer sortId){
    	this.chapterName=chapterName;
    	this.parentId=parentId;
    	this.courseId=courseId;
    	this.sortId=sortId;
    }
    
    public Chapter(Integer chapterId,String chapterName){
    	this.chapterId=chapterId;
    	this.chapterName=chapterName;
    }

    public Integer getChapterId() {
        return chapterId;
    }

    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName == null ? null : chapterName.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }
}